<?php

require_once 'init.php';
require_once 'cf/api/gallery.php';

$albumId = cf\param::get('id');
$smarty->assign('album',cf\api\gallery\getAlbum($albumId));
$smarty->assign('galleryImages',cf\api\gallery\getImages($albumId));

show(
	'gallery', 
	'Галерея', 
	array(array('name'=>'Галерея'))
);

?>